# Example of what could a makefile that insert a compressed script in a project could look like

# Do some project compilation where dracula_compressed.asm is used as an source file here...
all : dracula_compressed.asm

# Convert the plaintext file into an input script 
dracula_script.txt : dracula.txt
	perl script_conv.pl dracula.txt > dracula_script.txt

# Compresses the input script using compress_tools (we use static dictionary encoding as an example)
dracula_compressed.asm : dracula_script.txt
	../compress_tools -fa Huffman -o dracula_compressed.asm dracula_script.txt

clean :
	rm dracula_script.txt
	rm dracula_compressed.asm